package com.xlh.param.conclude;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author sy
 */
@Data
@ApiModel(" 设置课程权重值 ")
public class SettingCourseParam {

    @NotNull(message = "考核分项ID不能为空")
    private Long subId;

    @NotEmpty(message = "关联课程不能为空")
    private List<CourseWeightParam> courseParams;

}
